Why does my custom indexOf method in Java always return -1

Stack Overflow - obiettivo performance - Marco Cecconi - Codemotion Rome 2015

Advanced Techniques for Using Section and Article Tags in HTML5 by Mr.Narendrababu